import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {DrawLotsComponent} from './draw-lots.component';
import {AuthAccessGuard} from '../../guard/auth-access.guard';


const routes: Routes = [
  {component: DrawLotsComponent, path: '', canActivate: [AuthAccessGuard]}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DrawLotsRoutingModule {
}
